<%-- 
    Document   : consultarSaldo
    Created on : 18-oct-2012, 21:42:10
    Author     : alumnoFI
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<logic:notPresent name="usuarioConectado">
<jsp:forward page="login.jsp"/>
</logic:notPresent>

<link href="estilos.css" rel="stylesheet" type="text/css">

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Consultar saldo</title>
    </head>
    <body>
        <h2>Consultar saldo</h2>
        
        <html:form method="post" action="consultarSaldo.do">
            
            <html:select name="consultarSaldoActionForm" property="idCuenta">
                <option id="1" value="Cuenta 1">1</option>
            </html:select>
            <html:submit value="Confirmar"/><br><br>
            <label>Saldo: </label>
            <bean:write name="consultarSaldoActionForm" property="saldo"></bean:write>
            <br><br>
            <a href="menu.jsp">Volver al Menú Principal</a><br>
        </html:form>
       
    </body>
</html>

